package com.healthdata.service;

import com.healthdata.vo.CorrelationVO;
import com.healthdata.vo.TrendVO;
import weka.core.Instances;

public interface  CalculateService {
    double mean(double[] data);
    double median(double[] data);
    double deviation(double[] data);
    boolean testNormal(double[] data);
    boolean testExponential(double[] data);
    CorrelationVO calculateCorrelation(Instances data, int attributeIndex1, int attributeIndex2);
    TrendVO predictTrend(Instances preparedData, int directTime,int attributeIndex1, int attributeIndex2);
}
